package com.lzhsite.technology.designPattern.decorate.DriveDemo;

public class ConcreteDecorator extends Decorator
{
    public ConcreteDecorator(Component component)
    {
        super(component);
    }

    public void operation()
    {
        this.addedOperation();
        super.operation();
    }

    public void addedOperation()
    {
        System.out.println("晚上");
    }
}